.PHONY:all
all:read write
read:read.cc
	g++ -o $@ $^ contacts.pb.cc -std=c++11 -lprotobuf
write:write.cc
	g++ -o $@ $^ contacts.pb.cc -std=c++11 -lprotobuf
.PHONY:clean
clean:
	rm -rf read write